Automattic\WooCommerce\Internal\Admin\Settings\PaymentsController S

Total Complexity 37
Dependencies 6
Dependents 2
Total lines 279
Lines of code 152
Logical lines of code 80
Comment lines 92
Methods 10
Properties 1

Methods 10

Method Rating Maintainability Complexity Lines of code
store_has_providers_with_incentive()
A
43 12 53
add_menu()
A
49 7 31
add_allowed_promo_notes()
S
60 4 13
is_woopayments_account_onboarded()
S
61 4 13
preload_settings()
S
65 3 10
delayed_register()
S
64 2 9
handle_sections()
S
68 2 7
register()
S
79 1 3
init()
S
80 1 3
store_has_enabled_gateways()
S
65 1 10